<%
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate, cached-pages"); // HTTP 1.1.
response.setHeader("Pragma", "no-cache"); // HTTP 1.0.
response.setDateHeader("Expires", 0); // Proxies.
%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Search Results</title>
<link rel="stylesheet" type="text/css" href="css/view.css" media="all">
</head>

<body id="main_body" >

	<img id="top" src="images/top.png" alt="">
	<div id="form_container">
	<div class="header">
		 <div id="mymenu">
		 <ul>
		 
		 <li>
		 	<a class="color2" href="CreateJob">Create Jobs</a>
		 </li>
		 
		 <li>
		 	<a class="color2" href="searchemployees.jsp">Find Candidates</a>
		 </li>
		 	
		 <li>
		 	<a class="color2" href="AboutUs">About Us</a>
		 
		 </li>
		 
		 </ul>

 		
       </div> 
        </div>
 
 	<s:form class="appnitro" >
		
		<div class="form_description">
			<h2>Your Results:</h2>
		</div><br><br>		
		
		
		<table id="results">
    		<tr>  
    			<th>Name</th>  
        		<th>Skills</th>
        		<th>Major</th>
        		<th></th>  
    		</tr>  
    		<s:iterator value="searchResults">  
				<tr>
					<td><s:property value="%{fname}"/> <s:property value="%{lname}"/></td>
					<td><s:property value="%{skills}"/></td>
					<td><s:property value="%{major}" /></td>
					<td><s:a href="contactUser?id=%{userid}">Contact User</s:a></td>
         		</tr>  
   			</s:iterator>
		</table> 
		
		</s:form>
		<br><br><br><div id="footer"><br/>
			©Team Bazinga

		</div>
	</div>
	<img id="bottom" src="register_files/bottom.png" alt="">
	</body>
</html>